package indi.jp.project.process.service;

import indi.jp.project.core.entity.JsonResult;
import indi.jp.project.process.entity.FlowTypeNode;

/**
 * 流程Service
 *
 * @author jiangping
 * @date 2022/5/3
 */
public interface FlowService {

    JsonResult queryTypeList() throws Exception;

    JsonResult queryTypeNodes(String typeId) throws Exception;

    JsonResult queryFlowByTypeCode(String typeCode) throws Exception;

    JsonResult save(FlowTypeNode flowTypeNode) throws Exception;

    JsonResult deleteById(String id) throws Exception;

    JsonResult initTypeNodes(FlowTypeNode flowTypeNode) throws Exception;
}
